<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>登录页面</title>
  <!-- 引入layui.css -->
  <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
  <!-- 引入自己的页面logon.css -->
  <link rel="stylesheet" href="./assets/css/login.css">
</head>
<body>
  <div class="login-box layui-container">
    <!-- logo区域 -->
    <img src="./assets/images/logo.png" alt="" class="logo">
    <!-- 登录页面区域 -->
    <div class="login-contanier">
      <!-- 标题 -->
      <!-- SEO -->
      <h2 class="title">后台管理系统</h2>
      <!-- 登录表单 -->
      <form class="layui-form login-form" action="">
        <!-- 用户名项 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <i class="layui-icon layui-icon-username"></i> 
            <input type="text" name="username" lay-verify="required" required placeholder="请输入用户名" autocomplete="off" class="layui-input">
          </div>
        </div>
        <!-- 密码项 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <i class="layui-icon layui-icon-password"></i> 
            <input type="password" name="password" lay-verify="required|pass" required placeholder="请输入密码" autocomplete="off" class="layui-input">
          </div>
        </div>
        <!-- 提交项 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button lay-submit class="layui-btn layui-btn-normal layui-btn-fluid">登录</button>
          </div>
        </div>
        <!-- 注册项 -->
        <div class="layui-form-item" id="register-link">
          <a href="javascript:;">去注册账号</a>
        </div>
      </form>
       <!-- 注册表单 -->
       <form class="layui-form register-form" action="">
        <!-- 用户名项 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <i class="layui-icon layui-icon-username"></i> 
            <input type="text" name="username" lay-verify="required" required placeholder="请输入用户名" autocomplete="off" class="layui-input">
          </div>
        </div>
        <!-- 密码项 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <i class="layui-icon layui-icon-password"></i> 
            <input type="password" name="password" lay-verify="required|pass" required placeholder="请输入密码" autocomplete="off" class="layui-input">
          </div>
        </div>
        <!-- 确认密码项 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <i class="layui-icon layui-icon-password"></i> 
            <input type="password" name="repassword" lay-verify="confirmPwd" required placeholder="请确认密码" autocomplete="off" class="layui-input">
          </div>
        </div>
        <!-- 提交项 -->
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button lay-submit class="layui-btn layui-btn-normal layui-btn-fluid">注册</button>
          </div>
        </div>
        <!-- 去登录项 -->
        <div class="layui-form-item" id="login-link">
          <a  href="javascript:;">去登录</a>
        </div>
      </form>
    </div>
  </div>
  <!-- 引入jQuery -->
  <script src="./assets/lib/jquery.js"></script>
  <!-- 引入layui的js -->
  <script src="./assets/lib/layui/layui.all.js"></script>
  <!-- 引入baseJS -->
  <script src="./assets/js/baseAPI.js"></script>
  <!-- 引入login.js -->
  <script src="./assets/js/login.js"></script>
</body>
</html>
